<template>
  <div>
    <div class="loading_container" v-show="isShowLoading">
      <div class="loading_wrapper">
        <img src="../../assets/loading.gif" alt="" />
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      isShowLoading: false,
    };
  },
  methods: {
    close() {
      this.isShowLoading = false;
    },
  },
};
</script>

<style lang="scss">
.loading_container {
  width: 100%;
  height: 100vh;
  background-color: rgba(169, 169, 169, 0.205);
  position: fixed;
  left: 0px;
  top: 0px;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  .loading_wrapper {
    width: 5%;
    height: 10%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    img {
      width: 100%;
      height: 100%;
    }
  }
}
</style>